package com.desay.pangoo.itmt.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.desay.pangoo.itmt.entity.WorkGroupEntity;

/**
 * @author uidq1163
 */
@Repository
public interface WorkGroupRepository
		extends JpaSpecificationExecutor<WorkGroupEntity>, PagingAndSortingRepository<WorkGroupEntity, Long> {
	WorkGroupEntity findByWorkGroupNameOrPtnHeader(String workGroupName, String ptnHeader);

	WorkGroupEntity findByWorkGroupName(String workGroupName);

	WorkGroupEntity findByPtnHeader(String ptnHeader);

}